(ns cljsso.auth
  (:require

   [sparrows.cypher :refer :all]
   [sparrows.misc :refer :all]))


(defn auth
  "Validate login information. Returns a map containing user
  information"
  [{:keys [uid password]}]
  (when (= uid password)
    {:username uid}))
